package com.neusoft.ecommerce.entity;
/**
 * 
 * @author Alouette~
 *
 */

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class StockIn extends AbstractToString{
	private Integer stockInNo;
	//外键
	
	private Goods goods;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date stockInTime;
	//外键
	
	private Storage storage;
	private Integer stockInAmount;
	private String handler;
	private String stockInRemark;
	public StockIn() {
		super();
	}
	public StockIn(Integer stockInNo, Goods goods, Date stockInTime, Storage storage, Integer stockInAmount,
			String handler, String stockInRemark) {
		super();
		this.stockInNo = stockInNo;
		this.goods = goods;
		this.stockInTime = stockInTime;
		this.storage = storage;
		this.stockInAmount = stockInAmount;
		this.handler = handler;
		this.stockInRemark = stockInRemark;
	}
	/**
	 * @return the stockInNo
	 */
	public Integer getStockInNo() {
		return stockInNo;
	}
	/**
	 * @param stockInNo the stockInNo to set
	 */
	public void setStockInNo(Integer stockInNo) {
		this.stockInNo = stockInNo;
	}
	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}
	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	/**
	 * @return the stockInTime
	 */
	public Date getStockInTime() {
		return stockInTime;
	}
	/**
	 * @param stockInTime the stockInTime to set
	 */
	public void setStockInTime(Date stockInTime) {
		this.stockInTime = stockInTime;
	}
	/**
	 * @return the storage
	 */
	public Storage getStorage() {
		return storage;
	}
	/**
	 * @param storage the storage to set
	 */
	public void setStorage(Storage storage) {
		this.storage = storage;
	}
	/**
	 * @return the stockInAmount
	 */
	public Integer getStockInAmount() {
		return stockInAmount;
	}
	/**
	 * @param stockInAmount the stockInAmount to set
	 */
	public void setStockInAmount(Integer stockInAmount) {
		this.stockInAmount = stockInAmount;
	}
	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}
	/**
	 * @param handler the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}
	/**
	 * @return the stockInRemark
	 */
	public String getStockInRemark() {
		return stockInRemark;
	}
	/**
	 * @param stockInRemark the stockInRemark to set
	 */
	public void setStockInRemark(String stockInRemark) {
		this.stockInRemark = stockInRemark;
	}
	
}
